Skip to content

Commit

Permalink
Update README.md (#43)
Browse files Browse the repository at this point in the history
Fixed coding using arrow operator, however, the variable is an object, not a pointer.
  • Loading branch information
Chris--A authored Dec 29, 2023
1 parent c3f95af commit 26b49f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ server.on("/ip", [](PsychicRequest *request)
String filename = "/path/to/file";
PsychicFileResponse response(request, LittleFS, filename);

return response->send();
return response.send();
});
PsychicFileResponse(PsychicRequest *request, FS &fs, const String& path)
```
Expand Down

0 comments on commit 26b49f7

Please sign in to comment.