Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor sound request handling and validation
- Change `req.Sound` type check from string to interface - Add type assertion for `req.Sound` to string - Ensure `req.APNS` and `req.Android` are only set if `req.Sound` is a string Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Loading branch information