mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-13 07:15:19 +00:00
Manual fixes for AI slop
This commit is contained in:
@@ -103,6 +103,13 @@ export const maybeActionErrors = (notification) => {
|
||||
return actionErrors;
|
||||
};
|
||||
|
||||
export const messageWithSID = (message) => {
|
||||
if (!message.sid) {
|
||||
message.sid = message.id;
|
||||
}
|
||||
return message;
|
||||
};
|
||||
|
||||
export const shuffle = (arr) => {
|
||||
const returnArr = [...arr];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user