mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
Fixed minor bug in the flash example in README.md
Minor bug in the req.flash Data Usage Controller example. String passed instead of an object wrapped string.
This commit is contained in:
parent
db50b485da
commit
f16e71dc88
@ -503,7 +503,7 @@ to "info" and "success" flash messages, and you could even create a new one your
|
||||
|
||||
**Data Usage Controller (Example)**
|
||||
```
|
||||
req.flash('warning', 'You have exceeded 90% of your data usage');
|
||||
req.flash('warning', {'You have exceeded 90% of your data usage'});
|
||||
```
|
||||
|
||||
**User Account Page (Example)**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user