Fix typos

This commit is contained in:
Kian-Meng Ang
2022-08-04 23:06:54 +08:00
parent 961bb6c5f4
commit bb42841a66
19 changed files with 43 additions and 43 deletions

View File

@@ -42,7 +42,7 @@ pub async fn add_notification(
id: Identity,
) -> ServiceResult<impl Responder> {
let sender = id.identity().unwrap();
// TODO handle error where payload.to doesnt exist
// TODO handle error where payload.to doesn't exist
let p = AddNotification {
from: &sender,
@@ -98,7 +98,7 @@ pub mod tests {
let msg = AddNotificationRequest {
to: NAME2.into(),
heading: "Test notification".into(),
message: "Testeing notifications with a dummy message".into(),
message: "Testing notifications with a dummy message".into(),
};
let send_notification_resp = test::call_service(