1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-19 01:00:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

translate

This commit is contained in:
sunnylqm
2024-01-18 00:32:21 +08:00
parent 9d93faab31
commit e5405b4977
2 changed files with 8 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ export class Pushy {
constructor(options: PushyOptions) {
if (!options.appKey) {
throw new Error('appKey is required for withUpdates()');
throw new Error('appKey is required');
}
for (const [key, value] of Object.entries(options)) {
if (value !== undefined) {