Use single quotes for identifiers
This commit is contained in:
parent
819671a23a
commit
24f4ad53bc
15 changed files with 73 additions and 73 deletions
|
@ -10,15 +10,15 @@ exports.syncReadReceiptConfiguration = async ({
|
|||
storage,
|
||||
}) => {
|
||||
if (!is.string(deviceId)) {
|
||||
throw new TypeError('"deviceId" is required');
|
||||
throw new TypeError("'deviceId' is required");
|
||||
}
|
||||
|
||||
if (!is.function(sendRequestConfigurationSyncMessage)) {
|
||||
throw new TypeError('"sendRequestConfigurationSyncMessage" is required');
|
||||
throw new TypeError("'sendRequestConfigurationSyncMessage' is required");
|
||||
}
|
||||
|
||||
if (!is.object(storage)) {
|
||||
throw new TypeError('"storage" is required');
|
||||
throw new TypeError("'storage' is required");
|
||||
}
|
||||
|
||||
const isPrimaryDevice = deviceId === '1';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue